package duotai;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        Land land = new Land();

        System.out.println("请选择你要种植的植物：");
        System.out.println("2.玉米树 1.苹果树 3.香梨树");
        int choice = input.nextInt();
        Crop crop = land.getCrop(choice);
        land.plant(crop);


        land.useuseCrop();

    }
}
